// The Vue build version to load with the `import` command
// (runtime-only or standalone) has been set in webpack.base.conf with an alias.
import Vue from 'vue'
import App from './App'
import router from './router'

import store from './store'

import vueAwesomeSwiper from './components/vueAwesomeSwiper'
Vue.component('vueAwesomeSwiper',vueAwesomeSwiper)

Vue.prototype.bus=new Vue();


import axios from './http'

//在vue的原型上定义axios，使每一个vue实例都可以访问
Vue.prototype.$axios=axios;

Vue.prototype.bus=new Vue();


Vue.config.productionTip = false

/* eslint-disable no-new */
new Vue({
  el: '#app',
  router,
  store,
  components: { App },
  template: '<App/>'
})
